JBossOSGi uses the IzPack installer for packaging the distribution.
[tdiesler@tdvaio jbosgi]$ mvn -Pdistro install
[INFO] Scanning for projects...
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] JBossOSGi
[INFO] JBossOSGi Reactor
[INFO] JBossOSGi Testsuite
[INFO] JBossOSGi Testsuite Examples
[INFO] JBossOSGi Testsuite Functional
[INFO] JBossOSGi Testsuite Performance
[INFO] JBossOSGi Distribution
[INFO] JBossOSGi Distribution Javadoc
[INFO] JBossOSGi Distribution Installer
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.796s
[INFO] Finished at: Mon Jul 25 17:44:30 CEST 2011
[INFO] Final Memory: 28M/147M
[INFO] ------------------------------------------------------------------------
Finally, run the generated install jar to obtain the set of documentation and OSGi examples that can get executed against the embedded Framework or one of the supported remote target containers (i.e. AS7).
java -jar distribution/installer/target/jboss-osgi-installer-1.0.0.jar